﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage<HuynhQuangWebsite.Models.User>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
<!-- Validation form -->
<%using (Html.BeginForm("Detail", "ManageUser", new { id = Model.UserID }, FormMethod.Post, new { enctype = "multipart/form-data", @class = "form", id = "validate" }))
    { %>
   <%= ViewData["Msg"]%>
    <fieldset>
        <div class="widget">
          
            <div class="formRow">
                <label>Mật khẩu mới:<span class="req">*</span></label>
                <div class="formRight"><%:Html.PasswordFor(model => model.Password, new { @class = "validate[required]", id = "reg" })%></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>Nhập lại:<span class="req">*</span></label>
                <div class="formRight"><%:Html.PasswordFor(model => model.ConfirmPassword, new { @class = "validate[required,equals[reg]]", id = "req" })%></div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="widget">
             <div class="formSubmit"><input type="submit" value="cập nhật" class="blueB" /></div>
             <div><%:Html.HiddenFor(model => model.UserID)%></div>
           <%} %>
            <div class="clear"></div>
           
        </div>
             
    </fieldset>
   
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TitleAreaPlaceHolder" runat="server">
</asp:Content>
